package org.example;

public class ConcreteDao implements Dao{
    private DataSupplier dataSupplier;

    ConcreteDao(DataSupplier dataSupplier){
        this.dataSupplier= dataSupplier;
    }
    public String getData(Integer index){
        return dataSupplier.getData(index);
    }
}
